package com.yunduo.mapper;

import java.util.List;
import com.yunduo.entity.Shop;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ChengXin
 * @since 2023-07-12
 */
public interface ShopMapper extends BaseMapper<Shop> {
    //查询商店所有的图片Url
    List<String> selectImageUrlById(@Param("ids") String[] ids);

    //商店按热度指定排序
    List<Shop> selectShopOrderByPop(@Param("count")int count);
}
